﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Salats
{
    public class AbstractVegetable
    {
        private string name;
        private string type;
        private int calorie;

        public string GetName()
        {
            string str = this.name;
            return str;
        }

        public string GetType()
        {
            string str = this.type;
            return str;
        }

        public int GetCalorie()
        {
            int y = this.calorie;
            return y;
        }

        public void SetName(string s)
        {
            this.name = s;
        }

        public void SetType(string s)
        {
            this.type = s;
        }

        public void SetCalorie (int N)
        {
            this.calorie = N;
        }
    }
}
